﻿using Acme.BookStore.AcmeModel;
using Acme.BookStore.File;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;

namespace Acme.BookStore
{
    /// <summary>
    /// 上传文件
    /// </summary>
    public class UploadServer :
        CrudAppService<
            UploadInfo, //The Book entity
            UploadInfoDto, //Used to show books
            Guid, //Primary key of the book entity
            PagedAndSortedResultRequestDto, //Used for paging/sorting
            UploadInfos>, //Used to create/update a book
        IUploadInfo //implement the IBookAppService
    {
        public UploadServer(IRepository<UploadInfo, Guid> repository)
            : base(repository)
        {

        }
    }
}
